<template>
  <div class="about">
    <h1>This is an about page</h1>
    <h2>{{count}}</h2>
    <button @click="show">展示</button>
    <button @click="changeCount">修改count</button>
  </div>
</template>

<script lang="ts">
import {defineComponent} from "vue";
export default defineComponent({
    name:"AboutView",
})
</script>

<script lang="ts" setup>
    let count = 0;
    const show = ()=>{
        alert("hello")
    };
    const changeCount = ()=>{
        count++
    }
</script>
